-- GENERATED SPELL FOR [Sethekk Guard] --


function spell0_18323(pUnit, Event) --@Thunderclap,Self--
pUnit:FullCastSpellOnTarget(33967,pUnit)
pUnit:RegisterEvent('Sorts_18323', 10322, 1)
end

function Sorts_18323(pUnit, Event)
local choix_sorts_18323 = math.random(0, 0)
if choix_sorts_18323 == 0 then
pUnit:RegisterEvent('spell0_18323', 1, 1)
end
end

function mob18323_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_18323', math.random(1500, 3000), 1)
end

function mob18323_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob18323_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob18323_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(18323, 1, 'mob18323_Action')
RegisterUnitEvent(18323, 2, 'mob18323_Leave')
RegisterUnitEvent(18323, 3, 'mob18323_Kill')
RegisterUnitEvent(18323, 4, 'mob18323_Die')
